package com.hs.shirodemo2.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 用户登录信息对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {

    private Integer id;
    private String username;
    private String mobile;
    private String nickname;
    private String email;
    private String userpwd;
    private String salt;
    private String status;

    /*
    * 定义属性：保存登录用户的权限
    * */
    List<SysPermission> permissionList;
}